#include	<stdio.h>
#include	<assert.h>
#include	<string.h>
#include	<stdlib.h>
#include	<stdbool.h>
#include	<unistd.h>
#include	<time.h>
#include	<redblack.h>
#include	<math.h>
#include	<signal.h>
#include	<fcntl.h>
#include	<sys/ioctl.h>
#include	<event.h>
#include	<evutil.h>
#include	<math.h>
#include	<sys/types.h>
#include	<sys/socket.h>
#include	<netinet/in.h>
#include	<arpa/inet.h>

#include	"performance.h"
#include	"config_parser.h"
#include	"types.h"

#include	"utility.h"
#include	"redBlackTree.h"
#include	"tcp.h"
#include	"lcr.h"

struct event *timeout1, *timeout2, *socketEve1;
struct timeval tv1, tv2, performance_end_time, performance_start_time, start_time, end_time;
int submit_per_wake;
int vector_clock[MAX_RING_NODES];
extern double latency[1000000];
struct rbtree *myTree;
msg *head;
//------------------------------------------------------------------------------
